from pydantic import BaseModel
from datetime import datetime


class Farming_operation(BaseModel):
    OperationName: str
    OperationType: str
    StartTime: datetime
    EndTime: datetime
    Status: str
    Remarks: str

    class Config:
        orm_mode = True
